package com.buba.pojo;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * 教师类
 * @Component IOC 相当于Spring配置文件中的bean标签
 */
@Data
@Component
public class Teacher {
    private Integer teaId;
    private String teaName;
}
